﻿<%@ Page Title="MySql数据库安装" Language="C#" MasterPageFile="~/Back.Master" AutoEventWireup="true"
    CodeBehind="InstallMySql.aspx.cs" Inherits="SAWeb.Web.Install.InstallMySql" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
    <div class="MainNav">
        <div class="Left">
            数据库安装 > MySql版本
        </div>
    </div>
    <div class="MainTopSet">
        <div class="Left">
        </div>
    </div>
    <div class="EditRight">
        <table class="EditTab">
            <tr>
                <th>
                    数据库服务器IP地址：
                </th>
                <td>
                    <asp:TextBox ID="txtServer" runat="server" class="binput  validate[required]">localhost</asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    端口号：
                </th>
                <td>
                    <asp:TextBox ID="txtPort" runat="server" class="binput  validate[required]">3306</asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    数据库名称：
                </th>
                <td>
                    <asp:TextBox ID="txtDataBase" runat="server" class="binput">MyMoney</asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    用户名：
                </th>
                <td>
                    <asp:TextBox ID="txtUid" runat="server" class="binput  validate[required]">root</asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    密码：
                </th>
                <td>
                    <asp:TextBox ID="txtPwd" runat="server" class="binput  validate[required]">123456</asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    创建数据库：
                </th>
                <td>
                    <asp:CheckBox ID="cbCreateDb" runat="server" Text="创建" Checked="true" />
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <asp:LinkButton ID="lbtnCreateConn" runat="server" class="needCheck NorBtn" OnClick="lbtnCreateConn_Click"><b>创建数据库连接</b></asp:LinkButton>
                    <asp:LinkButton ID="lbtnSave" runat="server" class="needCheck NorBtn" OnClick="lbtnSave_Click"><b>创建数据库</b></asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
